package com.xu.microservice.mapper;

import com.xu.microservice.pojo.Member;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

@Repository
public interface MemberDao extends Mapper<Member> {

    @Insert("insert into t_member(name) values(#{name})")
    public void insert1(@Param("name") String name);

}
